export interface DepartmentModel {
  id: number
  name: string
  description: string
  created_at: Date
  updated_at: Date
}

export interface RoleModel {
  id: number
  name: string
  description: string
  created_at: Date
  updated_at: Date
}

export interface UserModel {
  id: number
  username: string
  email: string
  avatar: string
  nickname: string
  role_id: number
  dept_id: number
  status: number
  created_time: Date
  updated_time: Date
}

export interface Menu {
  id: number
  name: string
  code: string
  parent_id: number
  type: number
  icon: null | string
  sort: number
  route: string
  file_path: null
  level: number
  path: string
  status: number
  created_time: Date
  updated_time: Date
  children: Menu[]
}
